package com.satis.compose.get.example.pages

import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import com.satis.compose.get.annotation.PageRoute
import com.satis.compose.get.annotation.Param
import com.satis.compose.get.navigator.GetParam
import com.satis.compose.get.widget.GetCenter
import com.satis.compose.get.widget.GetPage

/**
 * @author sunshaobei on 2023/4/2
 */
@Composable
@PageRoute(route = "/app/error")
fun RouteNoFoundPage(@Param(GetParam.PAGE_NO_FOUND) msg:String) {

    GetPage {
        GetCenter() {
            Text(text = msg)
        }
    }
}